<?php /* Smarty version 2.6.6, created on 2012-03-09 21:51:41
         compiled from myfriends.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('insert', 'get_member_profilepicture', 'myfriends.tpl', 24, false),array('modifier', 'stripslashes', 'myfriends.tpl', 28, false),)), $this); ?>
<div id="main_wrap">
	<div class="center_wrap clearfix">
        <h2 class="no_bottom no_top">
        	<?php echo $this->_tpl_vars['lang304']; ?>

        </h2>
		<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "accountmenu.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>        
		<div class="right col1">
            <div class="cat_box_full clearfix"> 
            	<p class="right results"><?php if ($this->_tpl_vars['error'] == ""):  echo $this->_tpl_vars['beginning']; ?>
 - <?php echo $this->_tpl_vars['ending']; ?>
 <?php echo $this->_tpl_vars['lang61']; ?>
 <?php echo $this->_tpl_vars['total'];  endif; ?></p>
                <ul id="search_nav" class="clearfix">
                    <li class="current"><?php echo $this->_tpl_vars['showtitle']; ?>
<span></span></li>
                </ul>
                <div class="cat_body_full clearfix">
                  
                <?php if ($this->_tpl_vars['error'] != ""): ?>
                <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "show_error.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
                <?php endif; ?>
                <?php if ($this->_tpl_vars['showmessage'] != ""): ?>
                <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "show_message.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
                <?php endif; ?>
                  
                  <!-- LOOP START -->
                  <?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['listvideos']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?>
            	  <?php require_once(SMARTY_CORE_DIR . 'core.run_insert_handler.php');
echo smarty_core_run_insert_handler(array('args' => array('name' => 'get_member_profilepicture', 'assign' => 'profilefpic', 'value' => 'var', 'USERID' => $this->_tpl_vars['listvideos'][$this->_sections['i']['index']]['FRIENDID'])), $this); ?>

                  <div class="search_row">
                      <div class="aud_cont">
                          <span class="channel_thumb">
                            <a href="<?php echo $this->_tpl_vars['baseurl']; ?>
/<?php echo ((is_array($_tmp=$this->_tpl_vars['listvideos'][$this->_sections['i']['index']]['username'])) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : stripslashes($_tmp)); ?>
" title="<?php echo ((is_array($_tmp=$this->_tpl_vars['listvideos'][$this->_sections['i']['index']]['username'])) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : stripslashes($_tmp)); ?>
"><img src="<?php echo $this->_tpl_vars['membersprofilepicurl']; ?>
/thumbs/<?php echo $this->_tpl_vars['profilefpic']; ?>
" alt="<?php echo ((is_array($_tmp=$this->_tpl_vars['listvideos'][$this->_sections['i']['index']]['username'])) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : stripslashes($_tmp)); ?>
"></a>
                          </span>
                      </div>
    
                      <h4 class="blue no_bottom"><a href="<?php echo $this->_tpl_vars['baseurl']; ?>
/<?php echo ((is_array($_tmp=$this->_tpl_vars['listvideos'][$this->_sections['i']['index']]['username'])) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : stripslashes($_tmp)); ?>
" class="vTitle" title="<?php echo ((is_array($_tmp=$this->_tpl_vars['listvideos'][$this->_sections['i']['index']]['username'])) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : stripslashes($_tmp)); ?>
"><?php echo ((is_array($_tmp=$this->_tpl_vars['listvideos'][$this->_sections['i']['index']]['username'])) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : stripslashes($_tmp)); ?>
</a></h4>
                      <br />
                      <p class="text_gray2 no_bottom no_top">
                        <form id="deleteform" name="deleteform" action="<?php echo $this->_tpl_vars['baseurl']; ?>
/myfriends.php" method="post">
                    	<input type="hidden" name="deletefriendid" value="<?php echo $this->_tpl_vars['listvideos'][$this->_sections['i']['index']]['FRIENDID']; ?>
">
                        <input type="submit" name="submitdelete" value="<?php echo $this->_tpl_vars['lang485']; ?>
" />
                        </form>
                      </p>
                  </div>
                  <?php endfor; endif; ?>
                  <!-- LOOP END -->
    
                </div>

                <div class="paginate">
                	<?php echo $this->_tpl_vars['pagelinks']; ?>

                    <p class="left"><?php if ($this->_tpl_vars['error'] == ""):  echo $this->_tpl_vars['beginning']; ?>
 - <?php echo $this->_tpl_vars['ending']; ?>
 <?php echo $this->_tpl_vars['lang61']; ?>
 <?php echo $this->_tpl_vars['total'];  endif; ?></p>
                </div>
  			</div>
		</div>
    	<div class="clear"></div>
	</div>
</div>